package com.richard.room.app.entity;

import androidx.annotation.NonNull;
import androidx.room.Entity;

import java.io.Serializable;

/**
 * @author: Richard
 * @createDate: 2024/8/13 10:12
 * @version: 1.0
 * @description: 描述
 */
@Entity(primaryKeys = {"mer_id","goods_code"})
public class Goods implements Serializable {

    @NonNull
    private String goods_code;

    @NonNull
    private String mer_id;

    private String name;

    public String getGoods_code() {
        return goods_code;
    }

    public void setGoods_code(String goods_code) {
        this.goods_code = goods_code;
    }

    public String getMer_id() {
        return mer_id;
    }

    public void setMer_id(String mer_id) {
        this.mer_id = mer_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
